package com.ctshk.rpc.air.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 机票产品
 * </p>
 *
 * @author lihang
 * @since 2021-03-05
 */
@Data
@ApiModel(value="AirProduct对象", description="机票产品")
public class AirProductDataReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机票唯一标识Id,新增时不传,修改时为必传字段")
    private Long id;

    @ApiModelProperty(value = "航空公司名称",required =  true)
    private String companyName;

    @ApiModelProperty(value = "航空公司Id",required =  true)
    private Long companyId;

    @ApiModelProperty(value = "出发城市id",required =  true)
    private Long depCityId;

    @ApiModelProperty(value = "出发城市名称",required =  true)
    private String depCityName;

    @ApiModelProperty(value = "到达城市id",required =  true)
    private Long arrCityId;

    @ApiModelProperty(value = "到达城市名称",required =  true)
    private String arrCityName;

    @ApiModelProperty(value = "航班id",required =  true)
    private Long routeId;

    @ApiModelProperty(value = "航班名称",required =  true)
    private String routeName;

    @ApiModelProperty(value = "船舱等级類型id(主数据获取)")
    private Long cabinClass;

    @ApiModelProperty(value = "船舱等级類型名称)")
    private String cabinName;

    @ApiModelProperty(value = "供应商id(信德船票)",required =  true)
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称(信德船票)",required =  true)
    private String supplierName;

    @ApiModelProperty(value = "负责人id",required =  true)
    private Long chargeUserId;

    @ApiModelProperty(value = "适用人群id",required =  true)
    private Long applicableCrowdId;

    @ApiModelProperty(value = "适用人群名称",required =  true)
    private String applicableCrowdName;

    @ApiModelProperty(value = "打包状态（1：允许打包 2：不允许打包 3：只限打包）",required =  true)
    private Integer packStatus;

    @ApiModelProperty(value = "审批状态（1 待提交，2 待审批，3 审批中，4 审批不通过，5 审批通过）")
    private Integer approvalStatus;

    @ApiModelProperty(value = "售卖状态（0 无效，1 有效）当审批状态为通过时才会有售卖状态1")
    private Integer sellStatus;

    @ApiModelProperty(value = "机票预订信息")
    private AirProductReservationSettingsDataReq airProductReservationSettingsDataReq;

    @ApiModelProperty(value = "机票成本信息",required = true)
    private List<AirProductCostAddReq> airProductCostDataReqs;


}
